package com.ls.pattern.prototype.shallow;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class User implements Cloneable {
    private String name;
    private int age;
    private Phone phone;

    @Override
    public User clone() throws CloneNotSupportedException {
        return (User) super.clone();
    }
}
